﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace BLL.Services.Friends.Listing
{
    public class ListingFriends
    {
        public ListingFriends() 
        {
            Friends = new List<Friend>();

            Filter = new ListingFriendsFilter();
        }

        public int TotalPages { get; set; }

        public int Page { get; set; }

        public int Size { get; set; }

        public string Column { get; set; }

        public int Direction { get; set; }

        public List<Friend> Friends { get; set; }

        public ListingFriendsFilter Filter { get; set; }

        public class Friend
        {
            [Display(Name = "Avatar")]
            public string Avatar { get; set; }

            [Display(Name = "Email")]
            public string Email { get; set; }

            [Display(Name = "Login")]
            public string Login { get; set; }
        }
    }
}
